package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.LogBean;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ILogMapper extends BaseMapper<LogBean> {

    @Insert("INSERT INTO t_log(l_date,l_info)\n" +
            "VALUES(" +
            "#{date},#{info})\n")
    void add( LogBean log);
}
